<?php include ADMIN_COMMON_PATH.'/header.html';?>
<div class="layui-container fly-marginTop fly-user-main">
    <?php include ADMIN_COMMON_PATH.'/index-nav.html';?>
    <div class="fly-panel fly-panel-user" pad20>
        <div class="layui-tab layui-tab-brief" lay-filter="user">
            <ul class="layui-tab-title" id="LAY_mine">
                <li class="layui-this" lay-id="info">我的资料</li>
                <li lay-id="pass"><a href="/<?php echo ADMIN_DIR;?>/profiles/password/">密码</a></li>
            </ul>
            <div class="layui-tab-content" style="padding: 20px 0;">
                <div class="layui-form-pane layui-tab-item layui-show">
                    <blockquote class="layui-elem-quote">
                        <p>
							注意事项： 由于管理员账户属于敏感信息，只允许修改一次。
						</p>
                    </blockquote>
                    <form class="layui-form layui-show" method="post">
                        <div class="layui-form-item">
                            <label for="L_email" class="layui-form-label">邮箱</label>
                            <div class="layui-input-inline">
                                <input type="text" name="email" id="L_email" autocomplete="off" lay-verify="required|email" value="<?php echo $AdminUser['email'];?>" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
							<input type="hidden" name="id" value="<?php echo $AdminUser['id'];?>">
							<input type="hidden" name="method" value="edit">
                            <button class="layui-btn" key="set-mine" lay-filter="email" lay-submit>确认修改</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!--引入公共底文件-->
<?php include ADMIN_COMMON_PATH.'/footer.html';?>
<script>
layui.use('adminprofiles');
</script>